<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../vue.js/vue.js"></script>
</head>

<body>
    <ul id="app">
        <li v-for="p in person">{{p.name}}-{{p.sex}}-{{p.age}}</li>
    </ul>
    <script>
        Vue.config.productionTip = false;
        var app = new Vue({
            el: '#app',
            data: {
                person: [
                    { name: '张三', sex: '男', age: 18 },
                    { name: '李四', sex: '女', age: 19 },
                    { name: '王五', sex: '男', age: 20 },
                ],
            },
        });
    </script>
</body>

</html>